<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <title>首页二</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" th:href="@{css/icon-font.css}">
    <link rel="stylesheet" th:href="@{css/index-content.css}">
    <link rel="stylesheet" th:href="@{lay/lib/layui-v2.5.5/css/layui.css}" media="all">
    <link rel="stylesheet" th:href="@{lay/lib/font-awesome-4.7.0/css/font-awesome.min.css}"
          media="all">
    <link rel="stylesheet" th:href="@{lay/css/public.css}" media="all">
    <style>
        .layui-card {
            border: 1px solid #f2f2f2;
            border-radius: 5px;
        }

        .icon {
            margin-right: 10px;
            color: #1aa094;
        }

        .icon-cray {
            color: #ffb800 !important;
        }

        .icon-blue {
            color: #1e9fff !important;
        }

        .icon-tip {
            color: #ff5722 !important;
        }

        .layuimini-qiuck-module {
            text-align: center;
            margin-top: 10px
        }

        .layuimini-qiuck-module a i {
            display: inline-block;
            width: 100%;
            height: 60px;
            line-height: 60px;
            text-align: center;
            border-radius: 2px;
            font-size: 30px;
            background-color: #F8F8F8;
            color: #333;
            transition: all .3s;
            -webkit-transition: all .3s;
        }

        .layuimini-qiuck-module a cite {
            position: relative;
            top: 2px;
            display: block;
            color: #666;
            text-overflow: ellipsis;
            overflow: hidden;
            white-space: nowrap;
            font-size: 14px;
        }

        .welcome-module {
            width: 100%;
            height: 210px;
        }

        .panel {
            background-color: #fff;
            border: 1px solid transparent;
            border-radius: 3px;
            -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
            box-shadow: 0 1px 1px rgba(0, 0, 0, .05)
        }

        .panel-body {
            padding: 10px
        }

        .panel-title {
            margin-top: 0;
            margin-bottom: 0;
            font-size: 12px;
            color: inherit
        }

        .label {
            display: inline;
            padding: .2em .6em .3em;
            font-size: 75%;
            font-weight: 700;
            line-height: 1;
            color: #fff;
            text-align: center;
            white-space: nowrap;
            vertical-align: baseline;
            border-radius: .25em;
            margin-top: .3em;
        }

        .layui-red {
            color: red
        }

        .main_btn > p {
            height: 40px;
        }

        .layui-bg-number {
            background-color: #F8F8F8;
        }

        .layuimini-notice:hover {
            background: #f6f6f6;
        }

        .layuimini-notice {
            padding: 7px 16px;
            clear: both;
            font-size: 12px !important;
            cursor: pointer;
            position: relative;
            transition: background 0.2s ease-in-out;
        }

        .layuimini-notice-title, .layuimini-notice-label {
            padding-right: 70px !important;
            text-overflow: ellipsis !important;
            overflow: hidden !important;
            white-space: nowrap !important;
        }

        .layuimini-notice-title {
            line-height: 28px;
            font-size: 14px;
        }

        .layuimini-notice-extra {
            position: absolute;
            top: 50%;
            margin-top: -8px;
            right: 16px;
            display: inline-block;
            height: 16px;
            color: #999;
        }
        /*    公告栏移入移出*/
        .a_item:hover{
            background-color: rgb(246, 246, 246);
        }
    </style>
</head>
<body>
<div class="layuimini-container">
    <div class="layuimini-main">
        <div class="layui-row layui-col-space15">
            <div class="layui-col-md8">
                <div class="layui-row layui-col-space15">
                    <div class="layui-col-md6">
                        <div class="layui-card">
                            <div class="layui-card-header"><i class="fa fa-warning icon"></i>数据统计</div>
                            <div class="layui-card-body">
                                <div class="welcome-module">
                                    <div class="layui-row layui-col-space10">
                                        <div class="layui-col-xs6">
                                            <div class="panel layui-bg-number">
                                                <div class="panel-body">
                                                    <div class="panel-title">
                                                        <span class="label pull-right layui-bg-blue">实时</span>
                                                        <h5>用户统计</h5>
                                                    </div>
                                                    <div class="panel-content">
                                                        <h1 class="no-margins">1234</h1>
                                                        <small>当前分类总记录数</small>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="layui-col-xs6">
                                            <div class="panel layui-bg-number">
                                                <div class="panel-body">
                                                    <div class="panel-title">
                                                        <span class="label pull-right layui-bg-cyan">实时</span>
                                                        <h5>商品统计</h5>
                                                    </div>
                                                    <div class="panel-content">
                                                        <h1 class="no-margins">1234</h1>
                                                        <small>当前分类总记录数</small>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="layui-col-xs6">
                                            <div class="panel layui-bg-number">
                                                <div class="panel-body">
                                                    <div class="panel-title">
                                                        <span class="label pull-right layui-bg-orange">实时</span>
                                                        <h5>浏览统计</h5>
                                                    </div>
                                                    <div class="panel-content">
                                                        <h1 class="no-margins">1234</h1>
                                                        <small>当前分类总记录数</small>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="layui-col-xs6">
                                            <div class="panel layui-bg-number">
                                                <div class="panel-body">
                                                    <div class="panel-title">
                                                        <span class="label pull-right layui-bg-green">实时</span>
                                                        <h5>订单统计</h5>
                                                    </div>
                                                    <div class="panel-content">
                                                        <h1 class="no-margins">1234</h1>
                                                        <small>当前分类总记录数</small>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="layui-col-md6">
                        <div class="layui-card">
                            <div class="layui-card-header"><i class="fa fa-credit-card icon icon-blue"></i>快捷入口</div>
                            <div class="layui-card-body">
                                <div class="welcome-module">
                                    <div class="layui-row layui-col-space10 layuimini-qiuck">
                                        <div class="layui-col-xs3 layuimini-qiuck-module">
                                            <a href="javascript:;" layuimini-content-href="page/menu.html"
                                               data-title="菜单管理" data-icon="fa fa-window-maximize">
                                                <i class="fa fa-window-maximize"></i>
                                                <cite>菜单管理</cite>
                                            </a>
                                        </div>
                                        <div class="layui-col-xs3 layuimini-qiuck-module">
                                            <a href="javascript:;" layuimini-content-href="page/setting.html"
                                               data-title="系统设置" data-icon="fa fa-gears">
                                                <i class="fa fa-gears"></i>
                                                <cite>系统设置</cite>
                                            </a>
                                        </div>
                                        <div class="layui-col-xs3 layuimini-qiuck-module">
                                            <a href="javascript:;" layuimini-content-href="page/table.html"
                                               data-title="表格示例" data-icon="fa fa-file-text">
                                                <i class="fa fa-file-text"></i>
                                                <cite>表格示例</cite>
                                            </a>
                                        </div>
                                        <div class="layui-col-xs3 layuimini-qiuck-module">
                                            <a href="javascript:;" layuimini-content-href="page/icon.html"
                                               data-title="图标列表" data-icon="fa fa-dot-circle-o">
                                                <i class="fa fa-dot-circle-o"></i>
                                                <cite>图标列表</cite>
                                            </a>
                                        </div>
                                        <div class="layui-col-xs3 layuimini-qiuck-module">
                                            <a href="javascript:;" layuimini-content-href="page/form.html"
                                               data-title="表单示例" data-icon="fa fa-calendar">
                                                <i class="fa fa-calendar"></i>
                                                <cite>表单示例</cite>
                                            </a>
                                        </div>
                                        <div class="layui-col-xs3 layuimini-qiuck-module">
                                            <a href="javascript:;" layuimini-content-href="page/404.html"
                                               data-title="404页面" data-icon="fa fa-hourglass-end">
                                                <i class="fa fa-hourglass-end"></i>
                                                <cite>404页面</cite>
                                            </a>
                                        </div>
                                        <div class="layui-col-xs3 layuimini-qiuck-module">
                                            <a href="javascript:;" layuimini-content-href="page/button.html"
                                               data-title="按钮示例" data-icon="fa fa-snowflake-o">
                                                <i class="fa fa-snowflake-o"></i>
                                                <cite>按钮示例</cite>
                                            </a>
                                        </div>
                                        <div class="layui-col-xs3 layuimini-qiuck-module">
                                            <a href="javascript:;" layuimini-content-href="https://www.baidu.com"
                                               data-title="百度搜索" data-icon="fa fa-search">
                                                <i class="fa fa-search"></i>
                                                <cite>百度搜索</cite>
                                            </a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>

                    </div>
                    <!--                        线形图>-->
                    <div class="layui-col-md12">
                        <div class="layui-card">
                            <div class="layui-card-header"><i class="fa fa-line-chart icon"></i>数据统计</div>
                            <div class="layui-card-body  echarts-container" >
<!--                                图表内容-->
                                <div class="echarts-item">
                                    <div id="echarts-records" class="echarts-content"></div>
                                </div>
                                <div class="echarts-item">
                                    <div id="echarts-records2" class="echarts-content"></div>
                                </div>
                                <div class="echarts-item">
                                    <div id="echarts-records3" class="echarts-content"></div>
                                </div>
                            </div>
                        </div>
                    </div>

                </div>
            </div>


            <!--             右侧--容器: 反馈列表，系统公告-->
            <div class="layui-col-md4">


                <div class="layui-card">
                    <div class="layui-card-header"><i class="iconfont  icon-ziyuan" style="color: #00a2d4"></i>反馈列表 <a href="javascript:;"layuimini-content-href="/feedback/" data-title="基本资料" target="_self" style="float:  right"><i class="iconfont icon-guanli" style="color: #00a2d4"></i>更多</a></div>
                    <div class="layui-card-body layui-text feedback_content">
                    </div>
                </div>

                <!--        系统公告容器 -->
                <div class="layui-card" style="height: 50vh;overflow: auto;">
                    <div class="layui-card-header"><i class="fa fa-bullhorn icon icon-tip"></i>公告栏
                        <a href="javascript:;"
                                style="float: right; margin-top: 5px;margin-left: 10px" onclick="addAnnunciate()">
                            <i class="iconfont icon-guanli" style="color: #00a2d4 "></i> 更多
                        </a>
                        <a href="javascript:;"
                                 style="float: right; margin-top: 5px;" onclick="addAnnunciate()">
                            <i class="iconfont icon-tianjia" style="color: #00b1e2"></i> 添加
                        </a>
                    </div>
                    <div class="annunciate_content">
                        <div class="a_item">
                            <span class="buttons" data_index="1">
                            <button type="button" class="layui-btn layui-btn-sm layui-bg-orange"
                                    onclick="stickAnnunciate(this)">
                                <i class="layui-icon layui-icon-release"></i>置顶
                            </button>
                            <button type="button" class="layui-btn layui-btn-sm layui-btn-danger"
                                    onclick="delAnnunciate(this)">
                                <i class="layui-icon layui-icon-delete"></i> 删除
                            </button>
                                </span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</div>
</div>
<!--   添加公告弹框； -->
<div id="addA" style="display: none;padding: 5px 40px 0 0">
    <div class="layui-form" lay-filter="form">
    <label class="layui-form-label">公告内容</label>
    <div class="layui-input-block">
<!--        <input type="text" name="title" lay-verify="title" autocomplete="off" placeholder="请输入标题" class="layui-input">-->
        <textarea placeholder="请输入内容" name="content" class="layui-textarea" id="annunciateContent"></textarea>
            <label class="layui-form-label">通知类型：</label>
            <div class="layui-input-block">
                <input type="checkbox" lay-skin="switch" name="type" lay-text="系统通知|全校通知" checked/>
            </div>
        </div>

        <button type="button" class="layui-btn layui-btn-normal"
                style="float: right;margin-right: 30px;margin-top: 10px" onclick="addA()">添加
        </button>
        <button type="button" class="layui-btn layui-btn-normal"
                style="float: right;margin-right: 30px;margin-top: 10px" onclick="closeBox()">关闭
        </button>
    </div>
</div>

<script th:src="@{js/learn/converterDate.js}"></script>
<script th:src="@{lay/js/echarts.min.js}"></script>
<script th:src="@{lay/js/jquery-3.4.1.min.js}"></script>
<script th:src="@{lay/lib/layui-v2.5.5/layui.js}" charset="utf-8"></script>
<script th:src="@{lay/js/lay-config.js}" charset="utf-8"></script>
<script src="lay/dist/notice.js"></script>
<script th:src="@{js/learn/index-content.js}">

</script>
</body>
</html>
